SnarpleDev / Snazzle

A better frontend for Scratch, built by the community, for the community
https://snarpledev.github.io/Snazzle/
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

crash when accessing project with scratchDB #55

Closed EngineerRunner closed 1 year ago

EngineerRunner commented 1 year ago

if scratchdb is down, it is set to use scratchdb and you attempt to access a project, it shows an error. it just needs to be in a try-except statement.

NotFenixio commented 1 year ago

It is okay to use the Scratch API as a fallback even if use_ScratchDB is true?

redstone-dev commented 1 year ago

It is okay to use the Scratch API as a fallback even if use_ScratchDB is true?

No, because when USE_SCRATCHDB is True it means that Snazzle is most likely being used in an environment where the Scratch API is not available.

redstone-dev commented 1 year ago

I think this was fixed a while ago.