Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We get error "Uncaught #<T2>" #360

Open
tokiwoousaka opened this issue Dec 26, 2015 · 1 comment
Open

We get error "Uncaught #<T2>" #360

tokiwoousaka opened this issue Dec 26, 2015 · 1 comment

Comments

@tokiwoousaka
Copy link

  1. Build https://github.com/tokiwoousaka/bucephalus-base as "make check_haste". (hastec version is 0.5.3)
  2. Build https://github.com/tokiwoousaka/bucephalus-haste as "haste-cabal build", Then we get file "app/Check.js".
  3. Open app/index.html on chromium browser(47.0.2526.73), Then got error "Uncaught #".
    if you use Firefox(43.0) browser, then you would get error "uncaught exception: [object Object]"

I tougth cause is here -> https://github.com/tokiwoousaka/bucephalus-haste/blob/master/src/Game/Bucephalus/Haste.hs#L46, but no type error.

Thanks.

@valderman
Copy link
Owner

The actual cause of the exception is most likely an uncaught Haskell exception getting thrown somewhere. The top level handler is not very good at producing sensible error messages from uncaught exceptions at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants