Ask coding questions

← Back to all posts
Syntax errors
McJoe21

Help i cant work out where the errors are at, i looked through and checked the starts and ends of code blocks

Voters
McJoe21
Comments
hotnewtop
SixBeeps

You need a parameter in the catch statement in order to use it. Just a variable named e should work.

McJoe21

@SixBeeps what about the auto mod part? I didn't use carch()

SixBeeps

@McJoe21 The new error is saying you have an invalid token. Make sure you have the right one, and if it is, then you might need to regenerate it.

McJoe21

@SixBeeps i cant find the */ in the code

SixBeeps

@McJoe21 The error says index.js, line 106.

McJoe21

Fixed @SixBeeps