dat-ecosystem-archive / multidat

Manage multiple dat instances [ DEPRECATED - More info on active projects and modules at https://dat-ecosystem.org/ ]
MIT License
22 stars 6 forks source link

Make sure to populate the multidat error back up the stack #3

Open okdistribute opened 7 years ago

okdistribute commented 7 years ago

I was getting a module mismatch error but it was hidden under the sheets. I think in general it's nice to propagate fatal errors like this up the stack

yoshuawuyts commented 7 years ago

The error is still being propagated; if you look at the stack trace it should be clear (:

Also: I wasn't aware module mismatch errors were handled through a callback; I would've assumed they threw? That seems like a rather odd use of callbacks imo