Giter Site home page Giter Site logo

Comments (7)

natinusala avatar natinusala commented on June 18, 2024

This fatal thing is used to raise "fatal" errors that cannot be recovered. I don't want to just log something and move on as it will easily be overlooked by users.

The right thing would be to use the "crash" dialog, but again what would happen if the crash dialog itself crashes?

Do we have the ability to spawn the OS crash dialog with our own message in Horizon? That might be the best option here. And for Windows / Linux, open a generic crash dialog using the OS API.

from borealis.

p-sam avatar p-sam commented on June 18, 2024

Yes, we have the ability to invoke the error applet, but first it should be checked (I have never used it) that it doesn't send telemetry on its own (or if it used to on older versions), and that it allows to show a custom message, it might be just an error code for example

from borealis.

iUltimateLP avatar iUltimateLP commented on June 18, 2024

Yea, we do have a few options in libnx/error.h, however @p-sam is right, seems like the functions create an error report which is logged to the system, which doesn't seem optimal.

Personally, I dislike the whole Atmosphere crash screen, as it won't give you any info at all, whether it was an exception (and it's desc maybe) or anything else in most cases.

Maybe we can have a lightweight error dialog inside borealis itself - and as a last resort fallback, it'll fatal().

from borealis.

natinusala avatar natinusala commented on June 18, 2024

To be clear I am not talking about the fatal sysmodule but about the "the software has closed" one

from borealis.

iUltimateLP avatar iUltimateLP commented on June 18, 2024

Ah, well that "The software has closed" dialog is fine, I was developing in applet / album mode, and there we just straight up get a Atmosphere crash instead of the dialog (at least as of Atmosphere 0.12, I'm a bit behind).

from borealis.

natinusala avatar natinusala commented on June 18, 2024

This is not normal and should be fixed

from borealis.

DarkMatterCore avatar DarkMatterCore commented on June 18, 2024

Crashes in applet mode always trigger the Atmosphère fatal screen. IIRC it's related to the way applets work - I don't think there's an easy fix for that.

from borealis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.