Minor fixes.

This commit is contained in:
Matthew Chen 2021-04-05 17:56:12 -03:00
parent 3aa99b9abc
commit 285be1e9a5
2 changed files with 3 additions and 2 deletions

View File

@ -73,7 +73,7 @@ public class PaymentsDeactivateViewController: OWSViewController {
//
// * The balance becomes unavailable (this should never happen).
// * The balance becomes zero (this should be extremely rare).
owsFailDebug("Missing or empty balance.")
Logger.warn("Missing or empty balance.")
dismiss(animated: true, completion: nil)
return
}

View File

@ -26,7 +26,8 @@ public extension DebugLogger {
file: String,
function: String,
line: UInt) {
let message = message.description
// TODO: Remove.
let message = "MCSDK: " + message.description
let line = Int(line)
switch level {