Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retry with reduced limit on weird html errors #40

Closed
kacurez opened this issue Apr 4, 2018 · 3 comments · Fixed by #51
Closed

retry with reduced limit on weird html errors #40

kacurez opened this issue Apr 4, 2018 · 3 comments · Fixed by #51

Comments

@kacurez
Copy link
Member

kacurez commented Apr 4, 2018

obcas fb api vrati chybu v html formate, asi to sposobuje pretazene fb api. Fixom by mohlo byt retry na takto detekovanu chybu:

html error
<title>Facebook | Error</title>







<style>
html, body {
color: #141823;
background-color: #e9eaed;
font-family: Helvetica, Lucida Grande, Arial,
Tahoma, Verdana, sans-serif;
margin: 0;
padding: 0;
text-align: center;
}

#header {
height: 30px;
padding-bottom: 10px;
padding-top: 10px;
text-align: center;
}

#icon {
width: 30px;
}

h1 {
font-size: 18px;
}

p {
font-size: 13px;
}

#footer {
border-top: 1px solid #ddd;
color: #9197a3;
font-size: 12px;
padding: 5px 8px 6px 0;
}
</style>

Sorry, something went wrong.

We're working on it and we'll get it fixed as soon as we can.

<script> document.getElementById('back').onclick = function() { if (history.length > 1) { history.back(); return false; } };

// Adjust the display based on the window size
if (window.innerHeight < 80 || window.innerWidth < 80) {
// Blank if window is too small
document.body.style.display = 'none';
};
if (window.innerWidth < 200 || window.innerHeight < 150) {
document.getElementById('back-link').style.display = 'none';
document.getElementById('help-link').style.display = 'none';
};
if (window.innerWidth < 200) {
document.getElementById('sorry').style.fontSize = '16px';
};
if (window.innerWidth < 150) {
document.getElementById('promise').style.display = 'none';
};
if (window.innerHeight < 150) {
document.getElementById('sorry').style.margin = '4px 0 0 0';
document.getElementById('sorry').style.fontSize = '14px';
document.getElementById('promise').style.display = 'none';
};
</script>

Na detekciu chyby by stacilo zachytit vetu Sorry, something went wrong. a nato retry.

@tomasfejfar
Copy link
Contributor

Ref.: https://keboola.zendesk.com/agent/tickets/9253

v jakém je to stavu pls?

@kacurez
Copy link
Member Author

kacurez commented Oct 5, 2018

mozem sa nato prednostne pozriet teraz, to bude celkom rychlovka

@tomasfejfar
Copy link
Contributor

Super, tak pak odpověz rovnou v tom ticketu, pokud to vyřešíš, prosím. Díky 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants