Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RichardEllicott/ceb10fd1ed1ce1691756bda96699342a to your computer and use it in GitHub Desktop.
Save RichardEllicott/ceb10fd1ed1ce1691756bda96699342a to your computer and use it in GitHub Desktop.
if pcall(function ()
print('test1')
error()
end)then
print('test2')
else
print('test3')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment