Skip to content

Commit abadf22

Browse files
committed
BlenderSetupUtils: fix typos import error message formatting
Add an empty line after the first line of the error message.
1 parent a033267 commit abadf22

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/org/mastodon/blender/setup/BlenderSetupUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,16 @@ public static void installAddon( Path blenderPath ) throws IOException
6767
"--", addonZip.toAbsolutePath().toString() ); //
6868

6969
if ( result.exitCode != 0 )
70-
throw new RuntimeException( "Installation failed.\n" + result );
70+
throw new RuntimeException( "Installation failed.\n\n" + result );
7171

7272
if ( !result.stdout.contains( "dependencies installed" ) )
73-
throw new RuntimeException( "Installation of the dependencies for the mastodon_blender_view addon failed:\n" + result );
73+
throw new RuntimeException( "Installation of the dependencies for the mastodon_blender_view addon failed:\n\n" + result );
7474

7575
if ( !result.stdout.contains( "mastodon blender view addon installed" ) )
76-
throw new RuntimeException( "Installation of the mastodon_blender_view addon failed:\n" + result );
76+
throw new RuntimeException( "Installation of the mastodon_blender_view addon failed:\n\n" + result );
7777

7878
if ( !result.stdout.contains( "google RPC code compiled" ) )
79-
throw new RuntimeException( "Installation of the mastodon_blender_view addon failed:\n" + result );
79+
throw new RuntimeException( "Installation of the mastodon_blender_view addon failed:\n\n" + result );
8080

8181
Files.delete( pythonScript );
8282
Files.delete( addonZip );
@@ -173,7 +173,7 @@ public String toString()
173173
s.append( "\n\n" );
174174
s.append( "Exit Code:\n " ).append( exitCode ).append("\n\n");
175175
s.append( "Command Output:\n\n" ).append( stdout ).append("\n\n");
176-
s.append( "Commend Error:\n\n" ).append( stderr ).append("\n\n");
176+
s.append( "Command Error:\n\n" ).append( stderr ).append("\n\n");
177177
return s.toString();
178178
}
179179

0 commit comments

Comments
 (0)