Returned the original message in the log.
@@ -515,7 +515,8 @@ class Router(object):
try:
resp = func(**kw)
except StackStormDBObjectNotFoundError as e:
- LOG.error(e)
+ LOG.warning('Failed to call controller function "%s" for operation "%s": %s' %
+ (func.__name__, endpoint['operationId'], six.text_type(e))))
raise e
except Exception as e:
LOG.exception('Failed to call controller function "%s" for operation "%s": %s' %
