File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
OneSignalSDK/onesignal/core/src/main/java/com/onesignal/common/threading Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,7 @@ fun suspendifyOnMain(block: suspend () -> Unit) {
4848 block()
4949 }
5050 }
51- }
52- catch (e: Exception ) {
51+ } catch (e: Exception ) {
5352 Logging .error(" Exception on thread with switch to main" , e)
5453 }
5554 }
@@ -70,8 +69,7 @@ fun suspendifyOnThread(
7069 runBlocking {
7170 block()
7271 }
73- }
74- catch (e: Exception ) {
72+ } catch (e: Exception ) {
7573 Logging .error(" Exception on thread" , e)
7674 }
7775 }
@@ -93,9 +91,8 @@ fun suspendifyOnThread(
9391 runBlocking {
9492 block()
9593 }
96- }
97- catch (e: Exception ) {
98- Logging .error(" Exception on thread '${name} '" , e)
94+ } catch (e: Exception ) {
95+ Logging .error(" Exception on thread '$name '" , e)
9996 }
10097 }
10198}
You can’t perform that action at this time.
0 commit comments