HermesNetwork icon indicating copy to clipboard operation
HermesNetwork copied to clipboard

cachedJSON function Compile Error

Open Ruckt opened this issue 8 years ago • 1 comments

This function below in the response protocol gives the following compile error: 'Call can throw, but it is not marked with 'try' and the error is not handled'

   private lazy var cachedJSON: JSON = {
        return JSON(data: self.data ?? Data())
    }()

Ruckt avatar Nov 17 '17 17:11 Ruckt

I've created a pull request for this issue. Please check #5.

aleciogomes avatar Dec 01 '17 18:12 aleciogomes