Skip to content

Commit 86b1fad

Browse files
author
jantje
committed
Missed a warning
1 parent 831c733 commit 86b1fad

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

it.baeyens.arduino.core/src/it/baeyens/arduino/actions/Messages.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public class Messages extends NLS {
1515
public static String BuildHandler_No_Project_found;
1616
public static String BuildHandler_Start_Build_Activator;
1717
public static String ReattachLibraries_no_project_found;
18+
public static String UploadProjectHandler_build_failed;
1819

1920
static {
2021
// initialize resource bundle

it.baeyens.arduino.core/src/it/baeyens/arduino/actions/UploadProjectHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ protected IStatus run(IProgressMonitor _monitor) {
8181
job.setPriority(Job.DECORATE);
8282
job.schedule();
8383
if (hasBuildErrors()) {
84-
throw new CoreException(new Status(IStatus.ERROR, Const.CORE_PLUGIN_ID, "Build completed with errors."));
84+
throw new CoreException(new Status(IStatus.ERROR, Const.CORE_PLUGIN_ID, Messages.UploadProjectHandler_build_failed));
8585
}
8686
} catch (CoreException e) {
8787
Display.getDefault().asyncExec(new Runnable() {

it.baeyens.arduino.core/src/it/baeyens/arduino/actions/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ BuildHandler_Failed_to_build=Failed to build the code
99
BuildHandler_No_Project_found=No project found to build
1010
BuildHandler_Start_Build_Activator=Start build Activator
1111
ReattachLibraries_no_project_found=No project found to re-attach libraries.
12+
UploadProjectHandler_build_failed=Build completed with errors.

0 commit comments

Comments
 (0)