Skip to content

Commit

Permalink
Renamed from pocket-relay-asi to pocket-relay-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtread committed Sep 13, 2023
1 parent c22e46e commit 48bc281
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "pocket-relay-asi"
name = "pocket-relay-plugin"
version = "0.0.1"
edition = "2021"
description = "ASI plugin for ME3 to allow playing on Pocket Relay servers"
Expand Down
4 changes: 3 additions & 1 deletion src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use hyper::{
header::{ACCEPT, USER_AGENT},
StatusCode,
};
use log::{debug, error};
use log::error;
use reqwest::Client;
use semver::Version;
use serde::Deserialize;
Expand Down Expand Up @@ -93,6 +93,8 @@ pub async fn try_lookup_host(host: &str) -> Result<LookupData, LookupError> {

#[cfg(debug_assertions)]
{
use log::debug;

debug!("Response Status: {}", response.status());
debug!("HTTP Version: {:?}", response.version());
debug!("Content Length: {:?}", response.content_length());
Expand Down

0 comments on commit 48bc281

Please sign in to comment.