You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frankly speaking I don't understand how though. Quoting from the docs
A localized version of the string designated by key in table tableName. If value is nil or an empty string, and a localized string is not found in the table, returns key. If key and value are both nil, returns the empty string.
Yet I see
(lldb) po key
error_exception_%@
(lldb) po format
nil
Any idea? Maybe just add a safe guard?
The text was updated successfully, but these errors were encountered:
It might be possible that OMLocalizedStrings() did not return an NSBundle, in which case the method called on it would also return nil, although key is not nil.
That shouldn't lead to an exception, though!
The key
error_exception_%@
cannot be found, that causes the format to benil
and gives another exception overshadowing the original one.https://github.com/b52/OMPromises/blob/master/Classes/Core/OMResources.m#L67
Frankly speaking I don't understand how though. Quoting from the docs
Yet I see
Any idea? Maybe just add a safe guard?
The text was updated successfully, but these errors were encountered: