Hi,
I'm using script listener to run some action on an updated issue, the actions can be quite heavy and I'm using threads to prevent the users from waiting.
In some cases I see this error in the logs:
'Can't get old thread name'
Any idea why it happens?
My code is looking like this:
Thread.start({
try {
xxxxxx
someFunction(issue)
}
catch (Exception ex) {
log.error("error found+" error: "+ex.toString());
}
})
void someFunction(Issue issue) {
Thread.start({
xxxxxxx
})
}
thanks
Dar
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.