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 c8e3daf commit 9a18b3fCopy full SHA for 9a18b3f
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.
@@ -198,5 +199,8 @@ except netjsonconfig.exceptions.ValidationError as e:
198
199
print(message + info)
200
sys.exit(4)
201
except TypeError as e:
202
+ if args.verbose:
203
+ traceback.print_exc()
204
+
205
print('netjsonconfig: {0}'.format(e))
206
sys.exit(5)
0 commit comments