Skip to content

Conversation

vmutafov
Copy link
Contributor

Currently, if there is no snapshot found when there should be, no exception is thrown and the runtime crashes at a later point. With no exception thrown, diagnosing where the issue is, becomes a little bit harder having to check the APK or even debug it.

This PR introduces an exception throw when no snapshot is found and also introduces a check for TNSSnapshot.blob removing the need for the CLI team to rename the TNSSnapshot.blob to snapshot.blob.

@cla-bot cla-bot bot added the cla: yes label Sep 30, 2019
@vhristov5555
Copy link

test --android-runtime-tests

1 similar comment
@vmutafov
Copy link
Contributor Author

test --android-runtime-tests

@vmutafov vmutafov merged commit fc63da7 into master Oct 3, 2019
@vmutafov vmutafov deleted the vmutafov/throw-when-missing-snapshot branch October 3, 2019 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants