Skip to content

Commit

Permalink
Update formatting to pass lint test
Browse files Browse the repository at this point in the history
  • Loading branch information
jennantilla authored and jinliu9508 committed Jan 31, 2024
1 parent b3aa8cb commit 03b2ba7
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ fun suspendifyOnMain(block: suspend () -> Unit) {
block()
}
}
}
catch (e: Exception) {
} catch (e: Exception) {
Logging.error("Exception on thread with switch to main", e)
}
}
Expand All @@ -70,8 +69,7 @@ fun suspendifyOnThread(
runBlocking {
block()
}
}
catch (e: Exception) {
} catch (e: Exception) {
Logging.error("Exception on thread", e)
}
}
Expand All @@ -93,9 +91,8 @@ fun suspendifyOnThread(
runBlocking {
block()
}
}
catch (e: Exception) {
Logging.error("Exception on thread '${name}'", e)
} catch (e: Exception) {
Logging.error("Exception on thread '$name'", e)
}
}
}

0 comments on commit 03b2ba7

Please sign in to comment.