Results 1 to 2 of 2

Thread: <on-exit> and exception handling: Part 2

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    276

    Default <on-exit> and exception handling: Part 2

    Having an exception thrown (and not caught) in an <on-exit> action causes webflow to get caught in an infinite loop as discussed here.

    1. The solution proposed there was to move all my <on-exit> actions to the individual transitions. I was hoping there was a better solution for this.

    2. Another solution could include putting try/catch blocks in all the actions and just eat the exceptions. I am not sure I like that either.

    Is there any way to more gracefully handle exceptions that occur in an <on-exit> action?

  2. #2
    Join Date
    Apr 2007
    Posts
    276

    Default

    I take the lack of response as meaning no there is not. Should this be reported as a bug?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •