grokability / jamf2snipe

Import and sync assets from a JAMFPro instance to Snipe-IT asset management.
MIT License
113 stars 55 forks source link

Handle missing asset tags in JAMF #92

Closed bondurantdt closed 2 years ago

bondurantdt commented 2 years ago

Change the try/except from a raise to an if that uses the code block to extract serial number when JAMF's asset tag is missing. There is probably a better way, but this resolves the error I had on issue: #91

ParadoxGuitarist commented 2 years ago

I assigned it to Uberbrady to merge with the other pending PR once some folk test it. (since they're the ones that actually have to support it now I feel better about letting them review and pull the trigger)