Neir0
Neir0

Reputation: 13367

How to catch jquery exceptions?

Sometimes when i debuggind js code debugger jump to jquery source file and of course i cannt understand anything in this obfuscated code. How to find any humanreadeble message about exception?

Upvotes: 0

Views: 114

Answers (1)

Rob W
Rob W

Reputation: 348972

Use non-minified JQuery code during development. The cause of the error is often not laid at jQuery, but at your implementation.

When you've added a new feature, which throws an error, read the documentation to find how to apply the function in the right way.

Upvotes: 5

Related Questions