sciencemesh / cs3api4lab

CS3APIs Jupyterlab connector
Apache License 2.0
4 stars 11 forks source link

Stat error and log handling in a single place #215

Open diocas opened 1 year ago

diocas commented 1 year ago

Method _file_model is used to create a specific JSON response that describes a model and it's used in at least 3 cases. Reading, saving, and creating a new file (which is actually calling a save() method).
So this calls for a bigger refactor than just one place. I suggest we resolve this in a separate issue.

_Originally posted by @piotrWichlinskiSoftwaremind in https://github.com/sciencemesh/cs3api4lab/pull/213#discussion_r1097854487_