Skip to content

Commit

Permalink
Framework: Don't catch errors in production or development
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Feb 16, 2016
1 parent 245dc9c commit bd629f0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/pages/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ html(lang=lang, dir=isRTL ? 'rtl' : 'ltr', class=isFluidWidth ? 'is-fluid-width'
span(class=['environment', 'is-docs'])
a(href=devDocsURL title='DevDocs') docs

script( src='/calypso/catch-js-errors.min.js' )
if 'development' !== env && 'production' !== env
script( src='/calypso/catch-js-errors.min.js' )

script.
(function() {
Expand Down

0 comments on commit bd629f0

Please sign in to comment.