diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 7d014dff4fc48f209e9f8ddfbdad32b074e29b1e..37359b89b95dc1eea11f04d69863ada25d676c78 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -9,6 +9,6 @@
     = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
   %body.error
     .dialog
-      %img{ alt: title, src: '/oops.gif' }/
+      %img{ alt: Setting.default_settings['site_title'], src: '/oops.gif' }/
       %div
         %h1= yield :content