Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1aae6420 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fail protologtool when we fail to transform a java file" into main

parents 288923ea d4b487ac
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -445,10 +445,7 @@ object ProtoLogTool {
                    println("CodeProcessingException " +
                            "(${index + 1}/${injector.processingErrors.size}): \n${it.message}\n")
                }
                // Do not fail the build if there are processing errors.
                // TODO (b/370425985): Set to 1 once the bug is fixed, so we fail the build if there
                //  are processing errors.
                exitProcess(0)
                exitProcess(1)
            }
        } catch (ex: InvalidCommandException) {
            println("InvalidCommandException: \n${ex.message}\n")