diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index c9afbb5c8f1..d662d85e2e1 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -9,6 +9,6 @@
= render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
%body.error
.dialog
- %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
+ %img{ alt: Setting.default_settings['site_title'], src: current_user&.setting_auto_play_gif ? '/oops.gif' : '/oops.png' }/
%div
%h1= yield :content