If I run into an NPE on that line, how would I fix...
# coroutines
s
If I run into an NPE on that line, how would I fix it?
NPE means that the coroutine context doesn't have a job at that point.
I could add a job to the dispatcher I'm assigning to that code to but how would I re-write the code below?
message has been deleted
c
i would ask in #ktor also I think its a bug that there is no useful error message when the job is not found
👍 1
s