mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-21 17:48:44 +00:00
Fix issue where a Job had null JobParameters.
This commit is contained in:
@@ -35,7 +35,7 @@ public class JobManager {
|
||||
JobParameters jobParameters = job.getJobParameters();
|
||||
|
||||
if (jobParameters == null) {
|
||||
throw new IllegalStateException("Jobs must have JobParameters at this stage.");
|
||||
throw new IllegalStateException("Jobs must have JobParameters at this stage. (" + job.getClass().getSimpleName() + ")");
|
||||
}
|
||||
|
||||
Data.Builder dataBuilder = new Data.Builder().putInt(Job.KEY_RETRY_COUNT, jobParameters.getRetryCount())
|
||||
|
Reference in New Issue
Block a user