aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvar Refsdal <ivar.refsdal@nsd.no>2021-09-27 08:35:27 +0200
committerIvar Refsdal <ivar.refsdal@nsd.no>2021-09-27 08:35:27 +0200
commit384a3b72eeb6f4b00a70b8eeeeeab1934288485e (patch)
tree291185f137ffb103f5eb7d89005e6091faec2711 /src
parentRelease 0.2.33 (diff)
downloadfiinha-384a3b72eeb6f4b00a70b8eeeeeab1934288485e.tar.gz
fiinha-384a3b72eeb6f4b00a70b8eeeeeab1934288485e.tar.xz
Better error reporting
Diffstat (limited to 'src')
-rw-r--r--src/com/github/ivarref/yoltq/impl.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/github/ivarref/yoltq/impl.clj b/src/com/github/ivarref/yoltq/impl.clj
index 50441ff..f97dcc4 100644
--- a/src/com/github/ivarref/yoltq/impl.clj
+++ b/src/com/github/ivarref/yoltq/impl.clj
@@ -67,7 +67,7 @@
[?e :com.github.ivarref.yoltq/ext-id ?ext-id]]
(d/db conn)
(pr-str-safe :depends-on [q ext-id]))
- (throw (ex-info ":depends-on not found in database" opts))))
+ (throw (ex-info (str ":depends-on not found in database. Queue: " q ", id: " ext-id) opts))))
(when-let [ext-id (:id opts)]
{:com.github.ivarref.yoltq/ext-id (pr-str-safe :id [queue-name ext-id])})))
(do