Commit 942e1620 authored by o's avatar o

pass some errs

parent 208f7696
Pipeline #4095 failed with stages
in 11 seconds
......@@ -53,5 +53,7 @@ class ResourcesAdminController < ApplicationController
else
flash[:danger] = :failed
end
rescue ApiError => e
flash[:danger] = e.api_msg
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment