diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml
index 31f3220964a..8b260c61921 100644
--- a/app/views/layouts/error.html.haml
+++ b/app/views/layouts/error.html.haml
@@ -6,7 +6,7 @@
%title= safe_join([yield(:page_title), title], ' - ')
%meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
= stylesheet_pack_tag 'common', media: 'all'
- = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
+ = stylesheet_pack_tag 'application', integrity: true, media: 'all'
%body.error
.dialog
%img{ alt: title, src: '/oops.gif' }/