log exceptions

This commit is contained in:
Jude Nelson
2016-06-27 10:52:50 -04:00
parent 203869b10a
commit 71c7b42ff8

View File

@@ -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'}