Add a possible workaround for authorization issues
This commit is contained in:
@@ -196,7 +196,7 @@ fn get_catalog_id(name: &str, auth: &str) -> String {
|
||||
let prefix = "CatalogId: '";
|
||||
let idx = body.find(prefix)
|
||||
.expect("Failed to find CatalogId on the catalog page! Perhaps you got the wrong catalog \
|
||||
name or an invalid login?");
|
||||
name or an invalid login? Maybe you need to open the page in a browser once...");
|
||||
let pre_len = prefix.len();
|
||||
// Assuming all catalog ids follow this pattern!
|
||||
let len = "a6fca0c1-0be4-4e66-83b7-bcdc4eb5e95e".len();
|
||||
|
Reference in New Issue
Block a user