- except ManifoldException, e:
- print "ManifoldBackend.authenticate caught ManifoldException, returning corresponding ManifoldResult"
- return e.manifold_result
- except Exception, e:
- print "E: manifoldbackend", e
+ except ManifoldException as e:
+ logger.error("ManifoldException in Auth Backend: {}".format(e.manifold_result))
+ except Exception as e:
+ logger.error("Exception in Manifold Auth Backend: {}".format(e))