Fixed traceback on st2api.log when datastore value does not exist.
@@ -112,7 +112,7 @@ class KeyValuePair(Access):
if not query_result:
msg = 'The key "%s" does not exist in the StackStorm datastore.'
- raise StackStormDBObjectNotFoundError(msg % name)
+ LOG.error(msg % name)
return query_result.first() if query_result else None
