core: fix nested try-catch blocks processing
Merge pull request #11 from Fruiter/master

core: fix nested try-catch blocks processing