r/vuejs • • Dec 14 '20

Got a console error? :D

Post image
638 Upvotes

20 comments sorted by

47

u/moi2388 Dec 14 '20

Yeah, the commenter is right. Better to just spin up a separate docker instance to send the errors to. That way they can scale independently of the app and the errors don’t slow down your application.

14

u/99Kira Dec 14 '20

Fuck man I started laughing hysterically reading thjs

18

u/NimbusHex Dec 14 '20

It's like putting electrical tape over the warning sensors on your car dashboard, it completely solves the problem!

19

u/OKavalier Dec 14 '20

Worked for me

63

u/raffikeklikian Dec 14 '20

Lol I remember doing something like this in PHP when I was just starting out.

29

u/[deleted] Dec 14 '20

Ha! I came to say this exact thing. Very common PHP advice.

21

u/[deleted] Dec 14 '20

I was googling some errors the other day (turns out because I had my files set to be owned by nginx instead of apache.) 95% of the upvoted answers everywhere were to change the permissions to 777. The dark side of web development becoming accessible

Edit: "disable selinux" is another of my favourites

5

u/Farsqueaker Dec 14 '20

It's literally in the k8s install docs. It seems like it would take less real estate to suggest a chcon -R -t container_file_t <directory>

31

u/Nip-Sauce Dec 14 '20

The ”worked for me” is so dang good hahahah!!

30

u/thanatica Dec 14 '20
console.error = () => {};

Problem solved 😈

8

u/cyleungdasc Dec 15 '20

In fact this is how the majority of the problems in the society get solved.

6

u/i_like_the_idea Dec 14 '20

works everytime

2

u/skepticalbong Dec 14 '20

200 IQ solution right there.

2

u/saito200 Dec 15 '20

vue.config.stfu

2

u/DippityDamn Apr 27 '23

Can't believe they down voted a great joke like this. Stack man, that's where humor goes to die

4

u/gonnatjiekriek Dec 14 '20

Just putting it out there, so are politicians... only hiding the problems and not actually fixing them.

1

u/[deleted] Dec 15 '20

Nah, engineering problems so they can siphon of money to big corporations or blame a group of people to get votes

1

u/lick_A4_Skin Dec 15 '20

oh my god, I'm going to try this out on my current project!

1

u/yard2010 Dec 15 '20

Orrr wrap every other function call with try and empty catch