You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When an error happens within an @event block, it is not printed and the block fails silently.
MWE:
using GenieFramework
@genietools@appbegin@in error =false@onbutton error beginprintln("Error ")
a = nonexistantvar
println("This will never be printed")
end@event:error_eventbeginprintln("Error event")
a = nonexistantvar
println("This will never be printed")
endendui() =btn("Error 1", @click(:error)) *btn("Error 2", @on(:click, :error_event))
@page("/", ui)
up()
When an error happens within an
@event
block, it is not printed and the block fails silently.MWE:
This is what is printed to the REPL:
The text was updated successfully, but these errors were encountered: