mirror of
https://github.com/status-im/open-bounty.git
synced 2025-02-28 09:00:39 +00:00
Log proper stack trace in case toggling repo throws
This commit is contained in:
parent
e6def5b3f8
commit
bb9ae35fd5
@ -81,8 +81,7 @@
|
||||
{:enabled (not is-enabled)}
|
||||
(select-keys params [:id :full_name]))))
|
||||
(catch Exception e
|
||||
(log/info "exception when enabling repo "
|
||||
(.getMessage e))
|
||||
(log/error "exception when enabling repo" e)
|
||||
(repositories/update-repo repo-id {:state -1})
|
||||
(internal-server-error))))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user