We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d75b9d commit 20bcb38Copy full SHA for 20bcb38
1 file changed
bin/netjsonconfig
@@ -5,6 +5,7 @@ import sys
5
import six
6
import argparse
7
import netjsonconfig
8
+import traceback
9
10
description = """
11
Converts a NetJSON DeviceConfiguration object to native router configurations.
@@ -197,5 +198,8 @@ except netjsonconfig.exceptions.ValidationError as e:
197
198
print(message + info)
199
sys.exit(4)
200
except TypeError as e:
201
+ if args.verbose:
202
+ traceback.print_exc()
203
+
204
print('netjsonconfig: {0}'.format(e))
205
sys.exit(5)
0 commit comments