mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-27 09:44:50 +00:00
Add debug logging, add forgotten column constraint
This commit is contained in:
parent
2d2d11fc9d
commit
b112155134
@ -8,5 +8,5 @@ ALTER TABLE "issues" ADD UNIQUE ("issue_id");
|
||||
-- table for github PNG comment images
|
||||
CREATE TABLE issue_comment (
|
||||
id SERIAL PRIMARY KEY,
|
||||
issue_id INTEGER REFERENCES issues (issue_id),
|
||||
issue_id INTEGER REFERENCES issues (issue_id) UNIQUE,
|
||||
png_data bytea);
|
||||
|
@ -37,7 +37,7 @@
|
||||
:out-enc :bytes :in html)]
|
||||
(if (= 0 exit)
|
||||
out
|
||||
(do (log/error "Failed to generate PNG file" err)
|
||||
(do (log/error "Failed to generate PNG file" err exit out)
|
||||
nil))))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user