@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.5-beta.3 to 1.14.5-beta.4
@@ -15,4 +15,4 @@ "use strict"; | ||
if (message.toLowerCase().includes('response closed without headers')) { | ||
this.setMessage("Hang tight, we're under heavy load, refresh the page in a few seconds."); | ||
this.setOriginalMessage(`Hang tight, we're experiencing higher than usual demand, and are doing everything we can to improve performance. In the meantime, try refreshing the page until our code monkeys at our headquarters fix this.`); | ||
this.setMessage('Product is under heavy load, refresh the page in a few seconds.'); | ||
this.setOriginalMessage(`The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency.`); | ||
} | ||
@@ -19,0 +19,0 @@ } |
@@ -12,4 +12,4 @@ import { ConcreteException } from '../exception'; | ||
if (message.toLowerCase().includes('response closed without headers')) { | ||
this.setMessage("Hang tight, we're under heavy load, refresh the page in a few seconds."); | ||
this.setOriginalMessage(`Hang tight, we're experiencing higher than usual demand, and are doing everything we can to improve performance. In the meantime, try refreshing the page until our code monkeys at our headquarters fix this.`); | ||
this.setMessage('Product is under heavy load, refresh the page in a few seconds.'); | ||
this.setOriginalMessage(`The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency.`); | ||
} | ||
@@ -16,0 +16,0 @@ } |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.14.5-beta.3", | ||
"version": "1.14.5-beta.4", | ||
"sideEffects": false, | ||
@@ -40,3 +40,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "c4ee8eafbea5f5ebe4af3447eb8d97c05bf2be44" | ||
"gitHead": "c611ecc31df3db436f3be8329cd12467aa1c4818" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
592307