11/*
22The MIT License (MIT)
33
4- Copyright (c) 2018-2022 The Chronos Project
4+ Copyright (c) 2018-2023 The Chronos Project
55
66Permission is hereby granted, free of charge, to any person obtaining a copy
77of this software and associated documentation files (the "Software"), to deal
@@ -316,7 +316,7 @@ public boolean setStatus( final ChronosJob job, final JobStatus newStatus ) {
316316
317317 return status .getInt ( ChronosRestApi .STATUS_CODE_KEY ) == ChronosRestApi .STATUS_CODE__SUCCESS ;
318318 } catch ( UnirestException ex ) {
319- log .warn ( "Exception while setting a status. This attempt will not be repeated by the library." , ex );
319+ log .warn ( "Unable to send status update to Chronos Control . This attempt will not be repeated by the library." );
320320 return false ;
321321 }
322322 }
@@ -338,7 +338,7 @@ public boolean setCurrentJobPhase( final ChronosJob job, final JobPhase newJobPh
338338
339339 return status .getInt ( ChronosRestApi .STATUS_CODE_KEY ) == ChronosRestApi .STATUS_CODE__SUCCESS ;
340340 } catch ( UnirestException ex ) {
341- log .warn ( "Exception while setting a job phase. This attempt will not be repeated by the library." , ex );
341+ log .warn ( "Unable to report change of job phase to Chronos Control . This attempt will not be repeated by the library." );
342342 return false ;
343343 }
344344 }
@@ -371,7 +371,7 @@ public boolean setProgress( final int jobId, byte progress ) {
371371 return status .getInt ( ChronosRestApi .STATUS_CODE_KEY ) == ChronosRestApi .STATUS_CODE__SUCCESS ;
372372
373373 } catch ( UnirestException ex ) {
374- log .warn ( "Exception while setting progress. This attempt will not be repeated by the library." , ex );
374+ log .warn ( "Unable to send progress update to Chronos Control . This attempt will not be repeated by the library." );
375375 return false ;
376376 }
377377 }
0 commit comments