corvid logs?

Hi,

a user of my Corvid site experienced something strange, i would like to know how that happened.
my code has a lot of console.log calls, if i could see them for the user’s interaction i would be able to understand what happened.
does corvid keep the logs somewhere? backend? frontend? anyend?

thanks,
Nathan

You can save the logs in a database.

I used to do this to save error logs like this:

.catch( (err) => {
        let id = wixUsers.currentUser.id;
        let error = {
                'errorMessage': String(err),
                'userId': id
    });
            wixData.insert('ErrorDatabase', error);

cool, thanks!

Corvid now also has a Code Monitoring feature.

@yisrael-wix it seems that this feature only works with it open in a browser. Is that right? That means it’s only useful for debugging something I know happens, but not for tracking whether unexpected errors occurs with a live site. Is there some built in way to keep such logs, or do we still need to use @shan’s solution? (We obviously need to be able to track whether our users are hitting issues. Someone just told me they got an error trying to sign up on my site, but I don’t know why…)