Skip to content

Instantly share code, notes, and snippets.

@skrat
Created March 19, 2015 18:47
Show Gist options
  • Save skrat/36c5fdc27c50b49c4bf2 to your computer and use it in GitHub Desktop.
Save skrat/36c5fdc27c50b49c4bf2 to your computer and use it in GitHub Desktop.
cljs.core.async.impl.ioc_helpers.run_state_machine_wrapped = (function run_state_machine_wrapped(state){
try{return cljs.core.async.impl.ioc_helpers.run_state_machine.call(null,state);
}catch (e25988){if((e25988 instanceof Object)){
var ex = e25988;
cljs.core.async.impl.protocols.close_BANG_.call(null,cljs.core.async.impl.ioc_helpers.aget_object.call(null,state,cljs.core.async.impl.ioc_helpers.USER_START_IDX));
console.error(ex); // <---
throw ex;
} else {
throw e25988;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment