[cleanup]: removed unused code which was replaced by UI input text field in sources tab

This commit is contained in:
Magesh K
2024-12-13 13:35:39 +05:30
parent 1d030a9550
commit 7f60048b0c
2 changed files with 2 additions and 20 deletions

View File

@@ -159,6 +159,8 @@ final class FetchSourceOperation: ResultOperation<Source>
userInfo[NSDebugDescriptionErrorKey] = pathDescription
}
// @mahee96: Need to account for invalid/missing json fields error
// and show meaningful message to user instead of just showing decoder error
throw NSError(domain: nsError.domain, code: nsError.code, userInfo: userInfo)
}