mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-08 18:22:40 +00:00
catch catch catch
This commit is contained in:
@@ -256,7 +256,7 @@ const ArchivePage = createClass({
|
|||||||
if(title === '') {return (<div className='foundBrews noBrews'><h3>Whenever you want, just start typing...</h3></div>);}
|
if(title === '') {return (<div className='foundBrews noBrews'><h3>Whenever you want, just start typing...</h3></div>);}
|
||||||
|
|
||||||
if (error) {
|
if (error) {
|
||||||
console.log('render Error: ', error.errorCode);
|
console.log('render Error: ', error);
|
||||||
let errorMessage;
|
let errorMessage;
|
||||||
switch (error.errorCode) {
|
switch (error.errorCode) {
|
||||||
case '404':
|
case '404':
|
||||||
|
|||||||
Reference in New Issue
Block a user