mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
log exceptions
This commit is contained in:
@@ -720,7 +720,8 @@ class BlockstackdRPC(SimpleXMLRPCServer):
|
||||
# find the profile
|
||||
try:
|
||||
profile, _ = blockstack_client.get_name_profile(name, user_zonefile=zonefile_dict)
|
||||
except:
|
||||
except Exception, e:
|
||||
log.exception(e)
|
||||
log.debug("Failed to load profile for '%s'" % name)
|
||||
return {'error': 'Failed to load profile'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user