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 8007581 commit e4f44d3Copy full SHA for e4f44d3
jamf2snipe
@@ -794,6 +794,11 @@ for jamf_type in jamf_types:
794
jamf_asset_tag = 'jamfid-m-{}'.format(jamf['general']['id'])
795
elif jamf_type == 'computers':
796
jamf_asset_tag = 'jamfid-{}'.format(jamf['general']['id'])
797
+ else:
798
+ logging.error("Could not generate an asset tag for this device. Skipping")
799
+ # Dump the object for debugging.
800
+ logging.verbose(jamf)
801
+ continue
802
#raise SystemError('No such attribute {} in the jamf payload. Please check your settings.conf file'.format(tag_split))
803
if jamf_asset_tag == None or jamf_asset_tag == '':
804
logging.debug('No custom configuration found in settings.conf for asset tag name upon asset creation.')
0 commit comments