Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix EM error handling at AWS & OpenStack registry

Change-Id: Iee9904d2e711e39dfc813066cc9abea150c85198
  • Loading branch information...
commit 98b056380076cdb1f571814ce0e017f7105fd9c6 1 parent a79d897
@frodenas frodenas authored
View
2  aws_registry/lib/aws_registry/runner.rb
@@ -44,7 +44,7 @@ def start_http_server
private
- def handle_em_error(e)
+ def handle_em_error(e, level = :fatal)
@logger.send(level, e.to_s)
if e.respond_to?(:backtrace) && e.backtrace.respond_to?(:join)
@logger.send(level, e.backtrace.join("\n"))
View
2  openstack_registry/lib/openstack_registry/runner.rb
@@ -44,7 +44,7 @@ def start_http_server
private
- def handle_em_error(e)
+ def handle_em_error(e, level = :fatal)
@logger.send(level, e.to_s)
if e.respond_to?(:backtrace) && e.backtrace.respond_to?(:join)
@logger.send(level, e.backtrace.join("\n"))
Please sign in to comment.
Something went wrong with that request. Please try again.