Skip to content

Commit 34734c3

Browse files
Merge pull request #1097 from rylev/error
Return error when cannot fetch raw profile data
2 parents 0eb46c3 + 28ff453 commit 34734c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/request_handlers/self_profile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ pub async fn handle_self_profile(
701701
extract_profiling_data(d)
702702
.map_err(|e| format!("error extracting self profiling data: {}", e))?,
703703
),
704-
Err(_) => return Err(format!("could not fetch raw profile data")),
704+
Err(e) => return Err(format!("could not fetch raw profile data: {:?}", e.body())),
705705
};
706706
}
707707
}

0 commit comments

Comments
 (0)