Fix color & show error message

This commit is contained in:
Daniel Brendel
2023-02-02 13:24:50 +01:00
parent c318f0b937
commit 8a6434a2f9
3 changed files with 49 additions and 3 deletions

View File

@ -29,8 +29,9 @@ class SteamApp
$response = curl_exec($handle);
if(curl_error($handle) !== '') {
throw new \Exception('cURL error occured');
$curl_error = curl_error($handle);
if($curl_error !== '') {
throw new \Exception('cURL error occured: ' . $curl_error);
}
curl_close($handle);

View File

@ -243,4 +243,49 @@ tbody strong {
.footer-content a:hover {
color: rgb(150, 150, 150);
text-decoration: none;
}
.steam-app-footer-button a {
color: #D2E885 !important;
}
.steam-app-footer-button a:hover {
color: rgb(250, 250, 250) !important;
text-decoration: none !important;
}
.steam-group-info-footer-action a {
color: #D2E885 !important;
}
.steam-group-info-footer-action a:hover {
color: rgb(250, 250, 250) !important;
text-decoration: none !important;
}
.steam-server-action a {
color: #D2E885 !important;
}
.steam-server-action a:hover {
color: rgb(250, 250, 250) !important;
text-decoration: none !important;
}
.steam-user-infos-right-view a {
color: #D2E885 !important;
}
.steam-user-infos-right-view a:hover {
color: rgb(250, 250, 250) !important;
text-decoration: none !important;
}
.steam-workshop-info-footer-action a {
color: #D2E885 !important;
}
.steam-workshop-info-footer-action a:hover {
color: rgb(250, 250, 250) !important;
text-decoration: none !important;
}