diff options
| author | Ivar Refsdal <ivar.refsdal@nsd.no> | 2021-09-27 08:35:27 +0200 |
|---|---|---|
| committer | Ivar Refsdal <ivar.refsdal@nsd.no> | 2021-09-27 08:35:27 +0200 |
| commit | 384a3b72eeb6f4b00a70b8eeeeeab1934288485e (patch) | |
| tree | 291185f137ffb103f5eb7d89005e6091faec2711 | |
| parent | Release 0.2.33 (diff) | |
| download | fiinha-384a3b72eeb6f4b00a70b8eeeeeab1934288485e.tar.gz fiinha-384a3b72eeb6f4b00a70b8eeeeeab1934288485e.tar.xz | |
Better error reporting
| -rw-r--r-- | src/com/github/ivarref/yoltq/impl.clj | 2 |
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 |
