summary refs log tree commit diff stats
path: root/tests/async/tasyncexceptions.nim
Commit message (Collapse)AuthorAgeFilesLines
* Improve asyncdispatch error messages, fix some tests on Windows.Dominik Picheta2015-09-111-1/+1
|
* Async await try statement fixes.Dominik Picheta2015-02-091-1/+0
|
* Fixes async tests.Dominik Picheta2014-09-091-3/+3
|
* fix failed tests due to gcsafeAraq2014-08-121-8/+10
|
* Fixes incorrect async exception handling. Adds sleepAsync.Dominik Picheta2014-08-091-0/+38
The tasyncexceptions test has been added which tests for this incorrect exception handling behaviour. The problem was that the exception was raised inside a callback which was called from a previously finished async procedure. This caused a "Future already finished" error. The fix was to simply reraise the exception if the retFutureSym is already finished. sleepAsync was added to help with the reproduction of this test. It should also be useful for users however. Finally some debug information was added to futures to help with future bugs.