fixing exception message parameter ordering

This commit is contained in:
Adam Brown 2021-09-27 18:08:32 +01:00
parent 19d1d981c3
commit 399b2a13ee

View file

@ -47,8 +47,8 @@ class KeysExporter @Inject constructor(
output == null -> throw IllegalStateException("Exported file not found")
output.statSize != expectedSize -> {
throw UnexpectedExportKeysFileSizeException(
expectedFileSize = output.statSize,
actualFileSize = expectedSize
expectedFileSize = expectedSize,
actualFileSize = output.statSize
)
}
}