|
@ -33,7 +33,7 @@ object Main extends MainModule with BIOApp { |
|
|
override def run(args: List[String]): UIO[ExitCode] = |
|
|
override def run(args: List[String]): UIO[ExitCode] = |
|
|
appResource(System.currentTimeMillis()) |
|
|
appResource(System.currentTimeMillis()) |
|
|
.use(_ => Task.unit) |
|
|
.use(_ => Task.unit) |
|
|
.onErrorHandle(_.printStackTrace()) |
|
|
|
|
|
|
|
|
.onErrorHandleWith(ex => UIO(ex.printStackTrace())) |
|
|
.as(ExitCode.Success) |
|
|
.as(ExitCode.Success) |
|
|
|
|
|
|
|
|
} |
|
|
} |