fix(picker): propagate logs
This commit is contained in:
parent
a827d4f67c
commit
1822714a0c
2 changed files with 13 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ local function get_contests_for_platform(platform)
|
|||
local platform_display_name = constants.PLATFORM_DISPLAY_NAMES[platform] or platform
|
||||
logger.log(
|
||||
('Scraping %s for contests, this may take a few seconds...'):format(platform_display_name),
|
||||
vim.log.levels.INFO
|
||||
vim.log.levels.WARN
|
||||
)
|
||||
|
||||
local plugin_path = utils.get_plugin_path()
|
||||
|
|
@ -125,7 +125,7 @@ local function get_problems_for_contest(platform, contest_id)
|
|||
platform_display_name,
|
||||
contest_id
|
||||
),
|
||||
vim.log.levels.INFO
|
||||
vim.log.levels.WARN
|
||||
)
|
||||
|
||||
local metadata_result = scrape.scrape_contest_metadata(platform, contest_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue