0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-26 16:02:38 +00:00

where the hell did i lose the error handling

This commit is contained in:
Víctor Losada Hernández
2024-02-15 16:23:37 +01:00
parent e08435568c
commit 3afc9f83d9

View File

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