Browse Source

Maintenance: Zendesk changed response for not existing instances.

Mantas 3 years ago
parent
commit
7e064ee35b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/controllers/import_zendesk_controller.rb

+ 1 - 0
app/controllers/import_zendesk_controller.rb

@@ -17,6 +17,7 @@ class ImportZendeskController < ApplicationController
     translation_map = {
       'No such file'                                              => 'Hostname not found!',
       'getaddrinfo: nodename nor servname provided, or not known' => 'Hostname not found!',
+      '503 Service Temporarily Unavailable'                       => 'Hostname not found!',
       'No route to host'                                          => 'No route to host!',
       'Connection refused'                                        => 'Connection refused!',
     }