Skip to content

Commit

Permalink
Merge pull request #259 from nickai/nick/exception_message
Browse files Browse the repository at this point in the history
Update exception message when flow is accessed too early
  • Loading branch information
rjrjr committed May 21, 2017
2 parents 858798b + e4bde9e commit 19480d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/src/main/java/flow/InternalLifecycleIntegration.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public final class InternalLifecycleIntegration extends Fragment {
Fragment fragmentByTag = find(activity);
if (fragmentByTag == null) {
throw new IllegalStateException("Flow services are not yet available. Do not make this call "
+ "before receiving Activity#onPause().");
+ "before receiving Activity#onResume().");
}
return (InternalLifecycleIntegration) fragmentByTag;
}
Expand Down

0 comments on commit 19480d3

Please sign in to comment.