fix(common): report the detected file type in file type errors
fix(common): report the detected file type in file type errors: a task in Trending-SWE1.0 (Harbor dataset). Title: fix(common): report the detected file type in file type errors
The task
**Title:** fix(common): report the detected file type in file type errors
Part of scalingX/Trending-SWE1.0.