Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0
-
None
-
None
Description
Trying to do something like this in a groovy script:
Thread.setDefaultUncaughtExceptionHandler(
{thread,ex -> log.error("Error! thread=${thread}", ex)}
as Thread.UncaughtExceptionHandler)
would get:
unable to resolve class Thread.UncaughtExceptionHandler