0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 02:52:43 +00:00

catch catch catch

This commit is contained in:
Víctor Losada Hernández
2024-02-15 16:59:17 +01:00
parent 8c07b12bb0
commit fd6109099a

View File

@@ -256,7 +256,7 @@ const ArchivePage = createClass({
if(title === '') {return (<div className='foundBrews noBrews'><h3>Whenever you want, just start typing...</h3></div>);}
if (error) {
console.log('render Error: ', error.errorCode);
console.log('render Error: ', error);
let errorMessage;
switch (error.errorCode) {
case '404':