From: Michal Fojtik <[email protected]>

This change will allow to report this error correctly with
information about current driver and provider to the client.

Signed-off-by: Michal fojtik <[email protected]>
---
 server/views/errors/404.xml.haml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/server/views/errors/404.xml.haml b/server/views/errors/404.xml.haml
index 47aede6..5de624c 100644
--- a/server/views/errors/404.xml.haml
+++ b/server/views/errors/404.xml.haml
@@ -1,2 +1,3 @@
 %error{:url => "#{request.env['REQUEST_URI']}", :status => 
"#{response.status}"}
+  %backend{ :driver => driver_symbol, :provider => 
"#{Thread::current[:provider] || ENV['API_PROVIDER'] || 'default'}" }
   %message Resource not found
-- 
1.7.9.1

Reply via email to