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…
Reference in New Issue